﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace YiLe.View.BaseForm
{
    public class BaseSaveForm : Form
    {
        public bool IsChildView { get; set; }

        public string ViewName { get; set; }

        public int ViewWidth { get; set; }

        public int ViewHeight { get; set; }

        public virtual void BindDataToView() { }

        public virtual void DisplayView() { }

        public virtual void HideView() { }

        public virtual bool ValidateForm() { return false; }

        public virtual void Save() { }//保存

        public Button saveButton;//保存按钮

        public Button cancelButton;//取消按钮
    }
}
